package com.jianhua.appmarket.module.service.system;

import com.jianhua.appmarket.common.base.BaseService;
import com.jianhua.appmarket.module.entity.system.Menu;
import com.jianhua.appmarket.module.model.system.MenuParam;
import com.jianhua.appmarket.module.model.system.MenuVO;
import com.jianhua.appmarket.module.model.system.UserVO;

import java.util.List;

public interface IMenuService extends BaseService<Menu> {

    List<MenuVO> listAllMenus(UserVO user);

    List<MenuVO> listMenusByUserId(Long userId);

    List<MenuVO> listBranchByParentId(Long parentId,UserVO user);

    Boolean addOrEditMenu(Menu menu, UserVO user);

    Boolean editMenu(Menu menu, UserVO user);

    Boolean deleteMenu(Long menuId);
}
